#ifndef __IMU_ANALYSIS_H__
#define __IMU_ANALYSIS_H__

#ifndef M_PI
  #define M_PI 3.14159265358979323846f
#endif 

struct temperature
{
    float deg;
};

struct imu_acc
{
	float ax;
	float ay;
	float az;
};

struct imu_gry
{
	float gx;
	float gy;
	float gz;
};

struct icm42686_data {
    /*struct _temperature
	{
		unsigned short deg;
	}temperature;*/

	struct _acc
	{
		unsigned int x;
		unsigned int y;
		unsigned int z;
	}acc;

	struct _gyro
	{
		unsigned int x;
		unsigned int y;
		unsigned int z;
	}gyro;
};

#endif /* __IMU_ANALYSIS_H__ */
